<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div {
				width: 120px;
				height: 20px;
				border: 1px solid red;
				white-space: nowrap;
				
				overflow: hidden;
				text-overflow: ellipsis;
			}
		</style>
	</head>
	<body>
		<div id="">
			我的名字是安迪，楚乔的人
		</div>
	</body>
</html>
